<ID>: File
<ID>: folder
=
<ID>: new
<ID>: File
(
)
;
for
(
<TYPELIT>: int
<ID>: i
=
<NUMERALLIT>: 0
;
<ID>: i
<
<ID>: listOfFiles
<ID>: length
;
<ID>: i
++
)
{
if
(
<ID>: listOfFiles
)
{
<ID>: System
<ID>: out
<ID>: println
(
+
<ID>: listOfFiles
)
;
}
else
if
(
<ID>: listOfFiles
<ID>: isDirectory
(
)
)
{
<ID>: System
<ID>: out
<ID>: println
(
+
<ID>: listOfFiles
<ID>: getName
(
)
)
;
}
}
